﻿using System;

public class AdminChangePaswrdBO
    {
        private string _userName;
	    private string _password;

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

	   AdminChangePswrdDAL _ChangePasswordDal = new AdminChangePswrdDAL();

	   public int ChangePassword()
		   {

		   try
			   {

			   return _ChangePasswordDal.ChangePassword(this);



			   }
		   catch (Exception ex)
			   {
			   throw ex;


			   }
		   finally
			   {

			   _ChangePasswordDal = null;

			   }
		   }
    }

